<?php
/* @var $this RegistrationController */
/* @var $model Registration */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'passiveregistration-form',
    'action' =>$this->createUrl('create') . '#passive',

)); ?>

	   <?php if(YII_DEBUG) echo $form->errorSummary($model);?>

   <div class="row">

        <div class="span-8">
            <?php echo $form->labelEx($model,'lastname'); ?>
            <?php echo $form->textField($model,'lastname',array('size'=>60,'maxlength'=>255, 'class'=>'span-7')); ?>
            <?php echo $form->error($model,'lastname'); ?>
        </div>

        <div class="span-7">
            <?php echo $form->labelEx($model,'firstname'); ?>
            <?php echo $form->textField($model,'firstname',array('size'=>60,'maxlength'=>255, 'class'=>'span-7')); ?>
            <?php echo $form->error($model,'firstname'); ?>
        </div>

        <div class="clear"></div>

    </div>


    <div class="row">

        <div class="span-8">
            <?php echo $form->labelEx($model,'email'); ?>
            <?php echo $form->textField($model,'email',array('size'=>60,'maxlength'=>255, 'class'=>'span-7')); ?>
            <?php echo $form->error($model,'email'); ?>
        </div>

        <div class="span-7">
            <?php echo $form->labelEx($model,'phone'); ?>
            <?php echo $form->textField($model,'phone',array('size'=>60,'maxlength'=>255, 'class'=>'span-7', 'placeholder' => '+36 90 123 4567 alakban')); ?>
            <?php echo $form->error($model,'phone'); ?>
        </div>
        <div class="clear"></div>

    </div>

    <div class="row">

        <div class="span-8">

            <?php echo $form->labelEx($model,'birthDate'); ?>
            <?php echo $form->textField($model,'birthDate', array('class'=> 'span-7 datepicker', 'placeholder'=>'1990. 01. 01. alakban')); ?>
            <?php echo $form->error($model,'birthDate'); ?>

        </div>

        <div class="span-7">
            <?php echo $form->labelEx($model,'birthPlace'); ?>
            <?php echo $form->textField($model,'birthPlace', array('class'=>'span-7')); ?>
            <?php echo $form->error($model,'birthPlace'); ?>
        </div>
        <div class="clear"></div>

    </div>


    <div class="row buttons form-actions">
        <?php echo CHtml::submitButton('Regisztrálok', array('class'=>'btn btn-large btn-success span8')); ?>
    </div>

<?php $this->endWidget(); ?>

</div><!-- form -->